package com.welsmann.app.start.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "simpleairquality")
public class SimpleAirQuality extends BaseEntity {

	private static final long serialVersionUID = -7695804822430886280L;

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	private String id;
	
	@Column(name = "publish", nullable = false, length = 50)
	private String publish;
	
	@Column(name = "status", nullable = false, length = 50)
	private String status;
	
	@Column(name = "number", nullable = false, length = 4)
	private String number;
	
	public SimpleAirQuality() {
		
	}
	
	public SimpleAirQuality(String id) {
		this.id = id;
	}
	
	public String getId() {
		return id;
	}
	
	public String getNumber() {
		return number;
	}
	
	public String getPublish() {
		return publish;
	}
	
	public String getStatus() {
		return status;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public void setNumber(String number) {
		this.number = number;
	}
	
	public void setPublish(String publish) {
		this.publish = publish;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
}
